<%@ page language="java" import="java.util.*" pageEncoding="utf-8" isELIgnored="true"%>
 <%@ taglib prefix="s" uri="/struts-tags"%>
 <%@ taglib prefix="sx"  uri="/struts-dojo-tags"%>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
     <head>
 
         <title>Register Page</title>
         <sx:head/>       
           <style type="text/css">
    		@import "css/table.css";
		</style> 
     </head>
 
    <body>
        <s:form action="Price1Action!edit.action" theme="simple">
        采热单价维护|<a href="Price1Action!toGetPriceList.action">单价列表</a>
     
          <table>
           
                <tr>
                    <td style="text-align:right">
             热源地
                    </td>
                    <td>
                    <s:hidden name="price1.id" label="采热编号" />
                        <s:select  label="选择公司"  list="#session.company_list_suply" name="price1.comId" listKey="id" listValue="comName" headerValue="${price1.comId}" />

                    </td>
                </tr>
                <tr>
                    <td style="text-align:right">
                        车辆
                    </td>
                    <td>
                        <s:select  label="选择车辆"  list="#session.car_list" name="price1.carId" listKey="id" listValue="num"  headerValue="${price1.carId}" />
                        
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right">
                        单价
                    </td>
                    <td>
                       <s:textfield name="price1.price" label="单价" />
                    </td>
                </tr>
                <tr>
                   <td style="text-align:right">
                        计量单位
                    </td>
                    <td>
                        <s:textfield name="price1.piece" label="计量单位" />
                    </td>
                </tr>
                
              <tr>
                   <td style="text-align:right">                    
                    </td>
                    <td>
                     <sx:datetimepicker label="失效日期" name="price1.invalidationDate" displayFormat="yyyy-MM-dd"/> 
                       
                    </td>
                </tr>
             <tr>
                   <td style="text-align:right">
                      备注
                    </td>
                    <td>
                        <s:textfield name="price1.remark" label="备注" />
                    </td>
                </tr>
    
          <tr>
                   <td style="text-align:right">
                         蒸汽类型
                    </td>
                    <td>
                        <!--<s:textfield name="price1.extattr1" label="属性1" /> -->
                         <s:select  label="蒸汽类型"  list="#session.map_steam" name="price1.extattr1" listKey="key" listValue="value" headerValue="${price1.extattr1}" />                                        
                   
                        <s:hidden name="price1.extattr2" label="属性2" /><!-- 价格所属分公司id -->
                  
                    </td>
                </tr>
         
          <!--  
            <tr>
                   <td style="text-align:right">
                        属性3
                    </td>
                    <td>
                        <s:textfield name="price1.extattr3" label="属性3" />
                    </td>
          </tr>   
            <tr>
                   <td style="text-align:right">
                        属性4
                    </td>
                    <td>
                        <s:textfield name="price1.extattr4" label="属性4" />
                    </td>
          </tr>   
              <tr>
                   <td style="text-align:right">
                        属性5
                    </td>
                    <td>
                        <s:textfield name="price1.extattr5" label="属性5" />
                    </td>
          </tr>   
          -->        
           <tr>
                    <td style="text-align:right">
                        <s:submit value="保存"  />
                    </td>
                    <td style="text-align:left">
                        <s:reset value="取消"/>
                    </td>                   
                    
                </tr>
            </table>
        </s:form>
        <s:fielderror cssStyle="color:red"/>
    </body>
</html>
